package org.apache.servicecomb.fence.api.resource;

import jakarta.ws.rs.QueryParam;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping(path = "/v1/responseInfo")
public interface VertxResponseService {

    @GetMapping(path = "/getResponseInfoById")
    VertxResponseInfo getResponseInfoById(@QueryParam("id") Long  id);


    @GetMapping(path = "/getAsnyResponseInfoById")
    VertxResponseInfo getAsnyResponseInfoById(@QueryParam("id") Long  id);

    @GetMapping(path = "/insert")
    int insert(@QueryParam("responseInfo")  String responseInfo);
}
